package com.software.seakdream.repository;

import com.software.seakdream.entity.ClockInfo;
import com.software.seakdream.entity.SleepInfo;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface SleepInfoRepository {
    SleepInfo findSleepInfoById(String SleepId);

    int createSleepInfo(SleepInfo sleepInfo);

    List<SleepInfo> findSleepInfoUseLimit(String userId, int left, int size);

    List<SleepInfo> findSleepInfoInRange(String userId, String left, String right);
}
